//
//  AppStartModel.m
//  StockpdfReading
//
//  Created by mac on 2017/7/28.
//  Copyright © 2017年 上海LOL信息技术服务有限公司. All rights reserved.
//

#import "AppStartModel.h"

@implementation AppStartModel

-(instancetype)initWithCoder:(NSCoder *)aDecoder{
    if (self = [super init]) {
        self.name = [aDecoder decodeObjectForKey:@"name"];
        self.url = [aDecoder decodeObjectForKey:@"url"];
        self.statuscode = [aDecoder decodeObjectForKey:@"statuscode"];
        self.view = [aDecoder decodeObjectForKey:@"view"];
        self.resultcount = [aDecoder decodeObjectForKey:@"resultcount"];
        self.artistViewUrl = [aDecoder decodeObjectForKey:@"artistViewUrl"];
        self.filepath = [aDecoder decodeObjectForKey:@"filepath"];

    }
    return self;
}

-(void)encodeWithCoder:(NSCoder *)aCoder{
    [aCoder encodeObject:self.name forKey:@"name"];
    [aCoder encodeObject:self.url forKey:@"url"];
    [aCoder encodeObject:self.statuscode forKey:@"statuscode"];
    [aCoder encodeObject:self.view forKey:@"view"];
    [aCoder encodeObject:self.resultcount forKey:@"resultcount"];
    [aCoder encodeObject:self.artistViewUrl forKey:@"artistViewUrl"];
    [aCoder encodeObject:self.filepath forKey:@"filepath"];

}

@end
